import { defineStore } from 'pinia'
export const useAccountStore = defineStore('accountStoreId', {
	state() {
		return {
			phone:'',
			password:''
		}
	},
	actions: {
		// 更新登录账号信息
		updateLoginUser(phone,password) {
			this.phone = phone
			this.password = password
		}
	},
	//开启数据持久化
	persist: true
})